﻿@model MvcApplication6.Models.HomeModel
@using MvcApplication6.Models
@using MvcPaging

@{
    ViewBag.Title = @Model.productDetailModel.Product.title;
    Layout = "~/Views/Shared/_LayoutFace.cshtml";

}



<style type="text/css">
        .nuget-badge code
        {
            background-color: #202020;
            border: 4px solid #c0c0c0;
            color: #e2e2e2;
            display: block;
            font: 1.2em 'andale mono' , 'lucida console' , monospace;
            height: 25px;
            line-height: 1.5em;
            padding: 15px;
            width: auto;
            z-index: 3;
        }
    </style>
    <script type="text/javascript">

        function beginPaging(args) {
            // Animate
            $('#list111').fadeOut('normal');
        }

        function successPaging() {
            // Animate
            $('#list111').fadeIn('normal');
            $('a').tooltip();
        }

        function failurePaging() {
            alert("Could not retrieve list.");
        }

      // var myVar = setInterval(function () { myMeta() }, 5000);

        function myMeta() {
            //var metaPlus = '<meta property="og:image" content="' + $("#linkImage").val() + '"/>';

            var abc = '<meta property="og:site_name" content="CÔNG TY TNHH TM DV KT CÔNG NGHỆ AN PHÚ"/>' +
	'<meta property="og:url" content="http://aptechpro.vn/" /> ' +
    '<meta property="og:image" content="http://aptechpro.vn/Upload/Images/vt-3113b2014417851.png" /> ' +
    '<meta property="og:title" content="asdasdasd" /> ' +
    '<meta property="og:description" content="asdasdasd" />';
            $('head').append(abc);

            var abc = document.URL;
            $("#share_faceBook_Demo").attr('data-href',encodeURIComponent(location.href));

           // clearInterval(myVar);
        }
        //window.onload = myMeta;
</script>

@Html.Partial("~/views/home/Header.cshtml", Model.MenuListModel)
<div id="content">
@Html.Partial("~/views/home/Gallery.cshtml", Model.SaleListModel)
</div>
<!-- Right-collumn-->
<div class="main_right">
@Html.Partial("~/views/home/Sidebar.cshtml", Model)
<div class="list-view" id="listProduct">
	
    @Html.Partial("~/views/home/_ProductDetail.cshtml", Model.productDetailModel)  
</div><!--end. listview-->
</div>
@* @Html.Partial("~/views/home/_Customer.cshtml",Model.CusListModel) *@
@Html.Partial("~/views/home/Footer.cshtml")
